package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_lucky_bag_user")
@Schema(description = "福袋参与用户")
public class LuckyBagUser extends BaseEntity<LuckyBagUser> {

    @Schema(description = "0未中奖1已中奖")
    private Integer isWinner;

    @Schema(description = "得到钻石")
    private BigDecimal money;

    @Schema(description = "房间id")
    private Long roomId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户昵称")
    private String userNickName;

    @Schema(description = "用户头像")
    private String userPhoto;

    @Schema(description = "福袋id")
    private Long luckyBagId;

    @Schema(description = "参与方式")
    private String partWayName;
}
